<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
    <meta
      http-equiv="Content-Security-Policy"
      content="default-src 'self'; script-src 'self'"
    />
    <meta
      http-equiv="X-Content-Security-Policy"
      content="default-src 'self'; script-src 'self'"
    />
    <title>Electron App</title>
  </head>
  <body>
    <h1>Hello from Electron renderer!</h1>
    <h2 id="btn-text">我没有被点击</h2>
    <button id="btn">点击我</button>
    <p>👋</p>
    <p id="info"></p>
    <script src="./renderer.js"></script>
  </body>
</html>